package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/6/20 17:38
 * @desc
 */
@Data
public class XcxActivityOrdersDTO implements Serializable {
    @ApiParam(value = "当前页")
    @NotNull(message = "当前页不能为空")
    @Min(value = 1,message = "当前页不能小于1")
    private Integer page;
    @ApiParam(value = "每页显示的数量")
    @NotNull(message = "每页显示的数量不能为空")
    @Max(value = 10,message = "每页显示的数量不能大于30")
    private Integer size;
    @ApiParam(value = "订单状态")
    private Integer status;
    @ApiParam(value = "用户UID")
    private String uid;
}
